import CommonApi from './common'

class ControlWorkOrderApi extends CommonApi {
    constructor() {
        super()
        this.scope = '/quality/workOrder'
    }
    updateStatus(data) {
        const path = this.resolvePath('/workOrderStatus')
        return this.post(path, data)
    }
}

export default ControlWorkOrderApi
